
<?php
		$iProfile=empty($_POST["iProfile"])?"":$_POST["iProfile"];
		$iProductType=empty($_POST["iProductType"])?"":$_POST["iProductType"];
		$sText=empty($_POST["sText"])?"":$_POST["sText"];
		
		//insert value        
		$command = "insert into tInventory (iProfile,iProductType,sText,dLoadDate)".
					"values('$iProfile','$iProductType','$sText',NOW());";
								$con = mysqli_connect("earth.cs.utep.edu",
									"wb_cjvicario",
									"utep987");

	$con->select_db("5339team1");
		$con->query($command);
		$con->close();
		
		include('InventoryRetrieve.php');
?>	